package com.usian.wemedia.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.common.enums.AppHttpCodeEnum;
import com.usian.model.media.pojos.WmMaterial;
import com.usian.wemedia.mapper.WmMaterialMapper;
import com.usian.wemedia.service.WmMaterialService;
import org.springframework.stereotype.Service;

/**
 * @author baimugudu
 * @email 2415621370@qq.com
 * @date 2023/8/28 15:21
 */
@Service
public class WmMaterialServiceImpl extends ServiceImpl<WmMaterialMapper,WmMaterial>
implements WmMaterialService {
    @Override
    public ResponseResult saveWmMaterial(WmMaterial wmMaterial) {

        this.save(wmMaterial);
        return ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);
    }
}
